package com.example.dynamicschedule.dao;


import com.example.dynamicschedule.bean.CkCreditOutCompanyDataRelation;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface CkCreditOutCompanyDataRelationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CkCreditOutCompanyDataRelation record);

    int insertSelective(CkCreditOutCompanyDataRelation record);

    CkCreditOutCompanyDataRelation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CkCreditOutCompanyDataRelation record);

    int updateByPrimaryKey(CkCreditOutCompanyDataRelation record);

    void insertBatchList (List<CkCreditOutCompanyDataRelation> list);

    int updateHuishouStatue(String batchNumber);


    List<CkCreditOutCompanyDataRelation> selectByBatchNumber(String preBatchNumber);

    void updateForEach(List<CkCreditOutCompanyDataRelation> ckCreditOutCompanyDataRelations);

    List<CkCreditOutCompanyDataRelation> selectListByBatchNumberAndCheckModel(Map<String, Object> paramsMap);
}